﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020004DF RID: 1247
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class EvolveBuildStartLevelCsReq : IMessage<EvolveBuildStartLevelCsReq>, IMessage, IEquatable<EvolveBuildStartLevelCsReq>, IDeepCloneable<EvolveBuildStartLevelCsReq>, IBufferMessage
	{
		// Token: 0x17001028 RID: 4136
		// (get) Token: 0x06003869 RID: 14441 RVA: 0x0009B6A3 File Offset: 0x000998A3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<EvolveBuildStartLevelCsReq> Parser
		{
			get
			{
				return EvolveBuildStartLevelCsReq._parser;
			}
		}

		// Token: 0x17001029 RID: 4137
		// (get) Token: 0x0600386A RID: 14442 RVA: 0x0009B6AA File Offset: 0x000998AA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return EvolveBuildStartLevelCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700102A RID: 4138
		// (get) Token: 0x0600386B RID: 14443 RVA: 0x0009B6BC File Offset: 0x000998BC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return EvolveBuildStartLevelCsReq.Descriptor;
			}
		}

		// Token: 0x0600386C RID: 14444 RVA: 0x0009B6C3 File Offset: 0x000998C3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EvolveBuildStartLevelCsReq()
		{
		}

		// Token: 0x0600386D RID: 14445 RVA: 0x0009B6D8 File Offset: 0x000998D8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EvolveBuildStartLevelCsReq(EvolveBuildStartLevelCsReq other) : this()
		{
			this.eOLMIMIGFJJ_ = ((other.eOLMIMIGFJJ_ != null) ? other.eOLMIMIGFJJ_.Clone() : null);
			this.avatarList_ = other.avatarList_.Clone();
			this.levelId_ = other.levelId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600386E RID: 14446 RVA: 0x0009B735 File Offset: 0x00099935
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EvolveBuildStartLevelCsReq Clone()
		{
			return new EvolveBuildStartLevelCsReq(this);
		}

		// Token: 0x1700102B RID: 4139
		// (get) Token: 0x0600386F RID: 14447 RVA: 0x0009B73D File Offset: 0x0009993D
		// (set) Token: 0x06003870 RID: 14448 RVA: 0x0009B745 File Offset: 0x00099945
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FMNOMCJDCII EOLMIMIGFJJ
		{
			get
			{
				return this.eOLMIMIGFJJ_;
			}
			set
			{
				this.eOLMIMIGFJJ_ = value;
			}
		}

		// Token: 0x1700102C RID: 4140
		// (get) Token: 0x06003871 RID: 14449 RVA: 0x0009B74E File Offset: 0x0009994E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<EvolveBuildAvatar> AvatarList
		{
			get
			{
				return this.avatarList_;
			}
		}

		// Token: 0x1700102D RID: 4141
		// (get) Token: 0x06003872 RID: 14450 RVA: 0x0009B756 File Offset: 0x00099956
		// (set) Token: 0x06003873 RID: 14451 RVA: 0x0009B75E File Offset: 0x0009995E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint LevelId
		{
			get
			{
				return this.levelId_;
			}
			set
			{
				this.levelId_ = value;
			}
		}

		// Token: 0x06003874 RID: 14452 RVA: 0x0009B767 File Offset: 0x00099967
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as EvolveBuildStartLevelCsReq);
		}

		// Token: 0x06003875 RID: 14453 RVA: 0x0009B778 File Offset: 0x00099978
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(EvolveBuildStartLevelCsReq other)
		{
			return other != null && (other == this || (object.Equals(this.EOLMIMIGFJJ, other.EOLMIMIGFJJ) && this.avatarList_.Equals(other.avatarList_) && this.LevelId == other.LevelId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06003876 RID: 14454 RVA: 0x0009B7DC File Offset: 0x000999DC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.eOLMIMIGFJJ_ != null)
			{
				num ^= this.EOLMIMIGFJJ.GetHashCode();
			}
			num ^= this.avatarList_.GetHashCode();
			if (this.LevelId != 0U)
			{
				num ^= this.LevelId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06003877 RID: 14455 RVA: 0x0009B83F File Offset: 0x00099A3F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06003878 RID: 14456 RVA: 0x0009B847 File Offset: 0x00099A47
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06003879 RID: 14457 RVA: 0x0009B850 File Offset: 0x00099A50
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.LevelId != 0U)
			{
				output.WriteRawTag(16);
				output.WriteUInt32(this.LevelId);
			}
			this.avatarList_.WriteTo(ref output, EvolveBuildStartLevelCsReq._repeated_avatarList_codec);
			if (this.eOLMIMIGFJJ_ != null)
			{
				output.WriteRawTag(122);
				output.WriteMessage(this.EOLMIMIGFJJ);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600387A RID: 14458 RVA: 0x0009B8BC File Offset: 0x00099ABC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.eOLMIMIGFJJ_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.EOLMIMIGFJJ);
			}
			num += this.avatarList_.CalculateSize(EvolveBuildStartLevelCsReq._repeated_avatarList_codec);
			if (this.LevelId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.LevelId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600387B RID: 14459 RVA: 0x0009B928 File Offset: 0x00099B28
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(EvolveBuildStartLevelCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.eOLMIMIGFJJ_ != null)
			{
				if (this.eOLMIMIGFJJ_ == null)
				{
					this.EOLMIMIGFJJ = new FMNOMCJDCII();
				}
				this.EOLMIMIGFJJ.MergeFrom(other.EOLMIMIGFJJ);
			}
			this.avatarList_.Add(other.avatarList_);
			if (other.LevelId != 0U)
			{
				this.LevelId = other.LevelId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600387C RID: 14460 RVA: 0x0009B9A1 File Offset: 0x00099BA1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600387D RID: 14461 RVA: 0x0009B9AC File Offset: 0x00099BAC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 16U)
				{
					if (num != 26U)
					{
						if (num != 122U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							if (this.eOLMIMIGFJJ_ == null)
							{
								this.EOLMIMIGFJJ = new FMNOMCJDCII();
							}
							input.ReadMessage(this.EOLMIMIGFJJ);
						}
					}
					else
					{
						this.avatarList_.AddEntriesFrom(ref input, EvolveBuildStartLevelCsReq._repeated_avatarList_codec);
					}
				}
				else
				{
					this.LevelId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04001638 RID: 5688
		private static readonly MessageParser<EvolveBuildStartLevelCsReq> _parser = new MessageParser<EvolveBuildStartLevelCsReq>(() => new EvolveBuildStartLevelCsReq());

		// Token: 0x04001639 RID: 5689
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400163A RID: 5690
		public const int EOLMIMIGFJJFieldNumber = 15;

		// Token: 0x0400163B RID: 5691
		private FMNOMCJDCII eOLMIMIGFJJ_;

		// Token: 0x0400163C RID: 5692
		public const int AvatarListFieldNumber = 3;

		// Token: 0x0400163D RID: 5693
		private static readonly FieldCodec<EvolveBuildAvatar> _repeated_avatarList_codec = FieldCodec.ForMessage<EvolveBuildAvatar>(26U, EvolveBuildAvatar.Parser);

		// Token: 0x0400163E RID: 5694
		private readonly RepeatedField<EvolveBuildAvatar> avatarList_ = new RepeatedField<EvolveBuildAvatar>();

		// Token: 0x0400163F RID: 5695
		public const int LevelIdFieldNumber = 2;

		// Token: 0x04001640 RID: 5696
		private uint levelId_;
	}
}
